From 5b6313f16f508882a0ea67716b7dbaa1c6967f04 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 30 Jun 2025 08:28:13 +0000 Subject: (대표님) 20250630 16시 - 유저 도메인별 라우터 분리와 보안성검토 대응 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../engineering/(engineering)/projects/page.tsx | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 app/[lng]/engineering/(engineering)/projects/page.tsx (limited to 'app/[lng]/engineering/(engineering)/projects/page.tsx') diff --git a/app/[lng]/engineering/(engineering)/projects/page.tsx b/app/[lng]/engineering/(engineering)/projects/page.tsx new file mode 100644 index 00000000..0320f259 --- /dev/null +++ b/app/[lng]/engineering/(engineering)/projects/page.tsx @@ -0,0 +1,75 @@ +import * as React from "react" +import { type SearchParams } from "@/types/table" + +import { getValidFilters } from "@/lib/data-table" +import { Skeleton } from "@/components/ui/skeleton" +import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton" +import { Shell } from "@/components/shell" +import { ItemsTable } from "@/lib/items/table/items-table" +import { getProjectLists } from "@/lib/projects/service" +import { ProjectsTable } from "@/lib/projects/table/projects-table" +import { searchParamsProjectsCache } from "@/lib/projects/validation" + + +interface IndexPageProps { + searchParams: Promise +} + +export default async function IndexPage(props: IndexPageProps) { + const searchParams = await props.searchParams + const search = searchParamsProjectsCache.parse(searchParams) + + const validFilters = getValidFilters(search.filters) + + const promises = Promise.all([ + getProjectLists({ + ...search, + filters: validFilters, + }), + + ]) + + return ( + +
+
+
+

+ Project List from S-EDP +

+

+ S-EDP로부터 수신하는 프로젝트 리스트입니다. 향후 MDG로 전환됩니다.{" "} + {/* + + 버튼 + + 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다. */} +

+
+
+
+ + }> + {/* */} + + + } + > + + +
+ ) +} -- cgit v1.2.3